package com.zrrd.demo04;

/**
 * @author WanJl
 * @version 1.0
 * @title Emp
 * @description 员工类
 * @create 2024/3/17
 */
public abstract class Emp {
    private int id;
    private String name;

    public abstract void work();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
